<template>
  <layout />
</template>

<script lang="ts">
import { provide } from "vue";
import echarts from "echarts";
import Layout from '@/components/Layout/index.vue';
import { createMessage } from "@/components/message/Message.ts";
import { createCircle } from "@/components/circle/Circle.ts";
import { deepCopy } from "@/package/treeMethods/copy.ts";

export default {
  name: 'App',
  components: {
    Layout
  },
  setup() {
    /* 定义全局变量 */
    provide("$echarts", echarts);
    provide("$copy", deepCopy);
    provide("message", createMessage);
    provide("circle", createCircle);
  }
}

</script>

<style lang="scss">
@import "@/styles/main.scss";
</style>